<?php 
namespace Admin\Model;
use Think\Model\ViewModel;
class RuleViewModel extends ViewModel{
	public $viewFields = array(
		'rule'=>array('_table'=>'__AUTH_RULE__','id','name','title','type','condition'=>'term','status','mid'),
		'module'=>array('module_name','_on'=>'rule.mid=module.id')
	);
}

 ?>